﻿
@{
    ViewData["Title"] = "UpdInjure";
    Layout = "~/Views/Shared/Temp.cshtml";
}


<san style="font-size:20px;font-weight:bold;color:dodgerblue">|</san>
<span style="font-size: 17px; font-weight: bold; color: darkgrey ">编辑报损</span>


<table style="border: solid 1px gainsboro; width: 100%; height: 50px; margin-bottom: 30px; margin-top: 30px ">
    <tr style="height: 50px; margin-left: 20px">
        <td style="font-size:15px;font-weight:bold;color:dimgray">编辑报损单</td>
    </tr>
</table>
<form class="layui-form layui-row layui-col-space16">
    <div class="layui-col-sm4">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:110px;">报损单号:</label>
            <div class="layui-input-block">
                <input type="text" id="InjureCode" placeholder="可不填写，自动生成" style="width:230px" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-col-sm4">
        <div class="layui-form-item" style="margin-bottom: 0;">
            <label class="layui-form-label" style="width:60px;">报损类型:</label>
            <div class="layui-input-block" style="width:230px">
                <select name="quiz1" id="InjureType">
                    <option value="">请选择报损类型</option>
                    <option value="1">损坏报损</option>
                    <option value="2">丢失报损</option>
                    <option value="3">其他报损</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-col-sm4">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:110px;">关联订单号:</label>
            <div class="layui-input-block">
                <input type="text" id="MorderNumber" style="width:230px" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-col-sm4">
        <div class="layui-form-item" style="width:450px">
            <label class="layui-form-label" style="width: 100px">制单人:</label>
            <div class="layui-input-block">
                <input type="text" id="MakePerson" style="width:230px" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-col-sm4">
        <div class="layui-form-item" style="width:450px">
            <label class="layui-form-label">制单时间:</label>
            <div class="layui-input-inline layui-input-wrap">
                <div class="layui-input-prefix">
                    <i class="layui-icon layui-icon-date"></i>
                </div>
                <input type="date" id="MarkTime" lay-verify="date" placeholder="yyyy-MM-dd" class="layui-input">
            </div>
        </div>
    </div>

    <table style="border: solid 1px gainsboro; width: 100%; height: 50px; margin-bottom: 30px">
        <tr style="height: 50px; margin-left: 20px">
            <td style="font-size: 15px; font-weight: bold; color: dimgray">产品信息</td>
            <td style="float:right">
                <button type="button" class="layui-btn layui-btn-primary" lay-on="test-page">新增产品</button>
            </td>
        </tr>
    </table>

    @* 显示选中的产品 *@
    <table class="layui-table" lay-data="{height:315}" id="ID-demo"></table>

    <div class="layui-btn-container" style="text-align:center">
        <input type="button" value="提交" class="layui-btn" id="addpro" />
        <button class="layui-btn layui-btn-primary layui-border-green">取消</button>
    </div>
</form>

<script type="text/html" id="TPL-select">
    <select class="city" name="city" lay-filter="select-demo" lay-append-to="body">
    </select>
</script>





<script src="~/js/injure/updinjure.js"></script>